//
//  XJAddressTableViewProxy.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/22.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import <UIKit/UIKit.h>

// 作用:点击cell 将对应的model传递出去
@class XJAddressModel;

typedef void(^XJAddressTableVeiwProxySelectAddressBlock)(BOOL isSelect, NSIndexPath *indePath);
//typedef void(^XJAddressTableViewProxyEditBlock)(NSIndexPath *indexPath);
typedef void(^XJAddressTableViewProxyEditBlock)(XJAddressModel *addressM);

typedef void(^XJAddressTableViewProxyDeleteBlock)(NSIndexPath *indexPath);
typedef void(^XJAddressTableViewProxyDidSelectedRowClock)(XJAddressModel *addressModel);

@interface XJAddressTableViewProxy : NSObject<UITableViewDataSource,UITableViewDelegate>

@property(nonatomic, strong) NSMutableArray *dataArray;

@property(nonatomic, copy) XJAddressTableVeiwProxySelectAddressBlock addressTableProxySelectAddressBlock;
@property(nonatomic, copy) XJAddressTableViewProxyEditBlock addressTableProxyEditBlock;
@property(nonatomic, copy) XJAddressTableViewProxyDeleteBlock addressTableProxyDeleteBlock;
@property (nonatomic, copy) XJAddressTableViewProxyDidSelectedRowClock addressTableProxyDidSelectedRowBlock;




@end
